package com.code.day02.controller;

import com.code.day02.dao.AccountDao;
import com.code.day02.service.AccountService;
import com.mysql.cj.PingTarget;

import java.sql.SQLException;
import java.util.Scanner;

public class AccountContoller {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        String outname = scanner.next();
        String inname = scanner.next();

        int money = scanner.nextInt();
        AccountService accountService = new AccountService();
        accountService.transfer(outname, inname, money);
    }
}
